#ifndef __common_exceptions_hpp__
#define __common_exceptions_hpp__

#include <boost/exception/all.hpp>

namespace croco
{

struct exception_base : virtual boost::exception, virtual std::exception {};

typedef boost::error_info<struct tag_more_info, std::string> more_info;

struct os_error : virtual exception_base {};
struct libssh_error : virtual exception_base {};
struct general_error : virtual exception_base {};
struct not_implemented : virtual exception_base {};

} // namespace croco

#endif // __common_exceptions_hpp__
